import Vue from 'vue'
import App from './App'
import router from './router'
import VueMarkdown from 'vue-markdown'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
import VueQuillEditor from 'vue-quill-editor'
import IEcharts from 'vue-echarts-v3';
import axios from 'axios'


Vue.use(iView)
Vue.use(VueMarkdown)
Vue.use(IEcharts)

Vue.config.productionTip = false

axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
//axios.defaults.baseURL = global_.BASE_URL //'http://125.216.243.89:7061'
axios.defaults.baseURL = ''
// axios.defaults.headers.common['Authorization'] = getCookie("admin");

new Vue({
    el: '#app',
    router,
    VueMarkdown,
    template: '<App/>',
    components: { App }
})

Vue.prototype.$http = axios

